package com.yonyou.pmclouds.billview.plugin;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import com.yonyou.pmclouds.basecom.exception.BusinessException;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 单据查看前端扩展插件，用于补充各单据前端的逻辑和业务字段
 */
public interface IBillViewCustomPlugin {

    Object[] fillListBuziField(Object[] objects) throws BusinessException;

    Map<String,Object[]> fillDetailBuziField(SuperVO superVO, HttpServletRequest request) throws BusinessException;

    String getBillType();
}
